﻿/** OPEN SANS FONT **/
@font-face {
    font-weight: 400;
    font-style: normal;
    font-family: 'Open Sans';
    src: local('Open Sans'), local('OpenSans'), url("font/OpenSans-Regular.ttf") format('truetype'), url("font/OpenSans.woff") format('woff');
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: rgba(36, 40, 49, 0.8) url('../images/black_concrete-seamless_web_texture.jpg');
    font-size: 12px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

nav {
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.85) url('../images/logo.png') center no-repeat no-repeat;
    background-image: linear-gradient(left, rgba(0, 0, 0, 0.00) 0, #021852 20%, #021852 80%, rgba(0, 0, 0, 0.00) 100%);
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0.00) 0, #021852 20%, #021852 80%, rgba(0, 0, 0, 0.00) 100%);
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.00) 0, #021852 20%, #021852 80%, rgba(0, 0, 0, 0.00) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.00) 0, #021852 20%, #021852 80%, rgba(0, 0, 0, 0.00) 100%);
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.00) 0, #021852 20%, #021852 80%, rgba(0, 0, 0, 0.00) 100%);
    position: relative;
    text-align: center;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, .2) inset, 1px 1px 10px 0 rgba(0, 0, 0, .5), -1px -1px 0 0 rgba(0, 0, 0, .4) inset;
    color: white;
    -webkit-text-shadow: 0 1px rgba(0,0,0,.5);
    text-shadow: 0 1px rgba(0,0,0,.5);
    z-index: 9999;
}

#title {
    background: rgba(0, 0, 0, 0.00) url('../images/logo.png') center no-repeat no-repeat;
    height: 48px;
}

#settings {
    background: rgba(0, 0, 0, 0.0);
    position: relative;
    left: 50%;
    margin-left: 200px;
    padding-top: 5px;
    width: 300px;
}

.menu-button {
    width: 40px;
    height: 40px;
}

#icon-reload {
    background: url(../images/reload.png) center no-repeat no-repeat;
}

#icon-reload:hover {
    background: url(../images/reload-hover.png) center no-repeat no-repeat;
}

#icon-settings {
    background: url(../images/settings.png) center no-repeat no-repeat;
}

#icon-settings:hover {
    background: url(../images/settings-hover.png) center no-repeat no-repeat;
}

#welcomeText {
    font-size: 14px;
    position: relative;
    width: 800px;
    left: 50%;
    top: 50px;
    padding: 10px;
    margin-left: -400px;
    background: #fcefbb url(../images/043_paper_texturedstationary.jpg);
    border: 1px solid black;
    border-radius: 0.5em;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, .2) inset, 1px 1px 10px 0 rgba(0, 0, 0, .5), -1px -1px 0 0 rgba(0, 0, 0, .4) inset;
}

.ui-dialog .custom-radio label {
    z-index: 1006;
}

.datePicker {
    width: 120px;
    font-size: 10px;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }

.flowWorkspace {
    position: relative;
    overflow: auto;
    margin: auto;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    z-index: 3;
}

/** Z-INDEX **/
._jsPlumb_connector {
    z-index: 18;
}

._jsPlumb_endpoint {
    z-index: 19;
}

._jsPlumb_overlay {
    z-index: 20;
}

/* connector text */
.countLabel, .timeLabel {
    padding: 0.3em 0.3em 0.3em 1.3em;
    border: 1px solid #346789;
    border-radius: 0.5em;
    background-color: white;
    background-position: 0.3em center;
    -moz-background-size: 8px 8px;
    -o-background-size: 8px 8px;
    -webkit-background-size: 8px 8px;
    background-size: 8px 8px;
    background-repeat: no-repeat;
    color: #444;
    font: 11px sans-serif;
    opacity: 0.8;
    filter: alpha(opacity=80);
    cursor: pointer;
    -moz-transition: background-color 0.25s ease-in;
    -o-transition: background-color 0.25s ease-in;
    -webkit-transition: background-color 0.25s ease-in;
    transition: background-color 0.25s ease-in;
    z-index: 30;
}

.countLabel, .infoCount {
    background-image: url(../images/message-26.png);
}

.timeLabel, .infoTime {
    background-image: url(../images/timer-26.png);
}

    .countLabel._jsPlumb_hover, .timeLabel._jsPlumb_hover, ._jsPlumb_source_hover, ._jsPlumb_target_hover {
        border: 1px solid white;
        background-color: #1e8151;
        color: white;
    }

.countLabel._jsPlumb_hover {
    background-image: url(../images/message_outline-26.png);
}

.timeLabel._jsPlumb_hover {
    background-image: url(../images/timer_outline-26.png);
}

.hiddenLabel {
    visibility: hidden;
}

.stepShape {
    left: 0;
    top: 0;
    position: absolute;
    display: block;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, .2) inset, 1px 1px 10px 0 rgba(0, 0, 0, .5), -1px -1px 0 0 rgba(0, 0, 0, .4) inset;
    color: white;
    -webkit-text-shadow: 0 1px rgba(0,0,0,.5);
    text-shadow: 0 1px rgba(0,0,0,.5);
    font-size: 11px;
    opacity: 0.8;
    filter: alpha(opacity=80);
    cursor: pointer;
    -moz-transition: all 10ms;
    -o-transition: background-color 0.25s ease-in;
    -webkit-transition: all 10ms;
    transition: background-color 0.25s ease-in;
    z-index: 22;
}

    .stepShape:hover {
        background-color: #5c96bc;
    }

.stepTitle {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.errorShape {
    background-color: #700a0a;
}

.infoCount, .infoTime {
    position: absolute;
    top: -7px;
    padding: 0.3em 0.3em 0.3em 1.4em;
    width: 4em;
    height: 1em;
    border-radius: 5px;
    background-color: orange;
    background-position: 0.3em center;
    -moz-background-size: 8px 8px;
    -o-background-size: 8px 8px;
    -webkit-background-size: 8px 8px;
    background-size: 8px 8px;
    background-repeat: no-repeat;
    box-shadow: 0 0 2px black;
    color: #37352e;
    -webkit-text-shadow: none;
    text-shadow: none;
    font-size: 10px;
    cursor: pointer;
    -moz-transition: -moz-box-shadow 0.25s ease-in;
    -o-transition: box-shadow 0.25s ease-in;
    -webkit-transition: -webkit-box-shadow 0.25s ease-in;
    transition: box-shadow 0.25s ease-in;
    text-align: right;
}

.infoCount {
    right: 5px;
}

    .infoCount:hover, .infoTime:hover {
        box-shadow: 0 0 6px black;
    }

.orchBox {
    position: absolute;
    display: block;
    border-radius: 0 0 8px 8px;
    background-color: #005205;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, .2) inset, 1px 1px 10px 0 rgba(0, 0, 0, .5), -1px -1px 0 0 rgba(0, 0, 0, .4) inset;
    -webkit-text-shadow: 0 1px rgba(0,0,0,.5);
    text-shadow: 0 1px rgba(0,0,0,.5);
    opacity: 0.8;
    filter: alpha(opacity=80);
    z-index: 15;
}

.orchTitle {
    position: absolute;
    display: block;
    padding: 3px 5px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    text-align: center;
    border-radius: 8px 8px 0 0;
    background-color: #003c04;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, .2) inset, 1px 1px 10px 0 rgba(0, 0, 0, .5), -1px -1px 0 0 rgba(0, 0, 0, .4) inset;
    -webkit-text-shadow: 0 1px rgba(0,0,0,.5);
    text-shadow: 0 1px rgba(0,0,0,.5);
    opacity: 0.8;
    filter: alpha(opacity=80);
    cursor: pointer;
    z-index: 14;
}

/* common connector display settings */
path {
    stroke-width: 2px;
    outline-width: thin;
    outline-color: transparent;
}

/* display a red connector */
.redLine path {
    stroke: #700a0a;
}

/* display a green connector */
.greenLine path {
    stroke: #31bc00;
}

/* display a yellow connector */
.yellowLine path {
    stroke: #cbb800;
}

/* used to represent two-way send - must hide behind any orchestration */
.dottedLine {
    stroke-dasharray: 10px;
    z-index: 10 !important;
}

.messagingLine { /* receive port to send port must hide behind any orchestration */
    z-index: 11 !important;
}

/* hover over a connector */
._jsPlumb_hover path {
    stroke: #1e8151;
}

/* spinner */
.spinner {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1234;
    width: 100%;
    height: 100%;
    background: rgba(36, 40, 49, 0.8) url('../images/ajax-loader.gif') 50% 50% no-repeat;
}
